@font-face {
    font-family: 'Erstoria';
    src: url('./assets/fonts/Erstoria.woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body{
    font-family: "Book Antiqua", serif;
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.8;
    color: #fff;
}


.cta__buttons{
    display: flex;
    width: fit-content;
}

.call__button{
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    margin: 5px;
    text-align: center;
    background-color: white;
    box-shadow: rgba(108, 108, 108, 0.1) 0px 2px 4px, rgba(178, 178, 178, 0.1) 0px 7px 13px -3px, rgba(0, 0, 0, 0.6) 0px -4px 0px inset;
}

.call__button--red{
    color: white;
    background-color: #BC2A22;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(122, 1, 1, 0.5) 0px -4px 0px inset;
}

.hero, .info, .about, .ending{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("./assets/images/cartas_hero.png");
    background-repeat: no-repeat;
    background-position: right;
    position: relative;
    padding: 5vmax;
    gap: 2vmax;
}

.hero p{
    max-width: 50%;
}

.hero *, .info *, .about *, .ending * {
    z-index: 2;
}

.overlay{
    position: absolute;
    background: linear-gradient(-90deg ,rgba(0,0,0,0) 0%, rgba(0,0,0,50) 60%, rgba(0,0,0,100) 100%);
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 1;
}

.overlay--light{
    background: linear-gradient(90deg ,rgba(255,255,255,0) 0%, rgba(255,255,255,50) 60%, rgba(255,255,255,100) 100%);
}

h1{
    font-size: clamp(50px, 8vw, 128px);
    font-family: "Erstoria";
    font-weight: 400;
    max-width: 70%;
    line-height: 1;
}

h2{
    font-size: clamp(36px, 8vw, 96px);
    font-family: "Erstoria";
    font-weight: 400;
    line-height: 1;
    text-wrap: nowrap;
}

h3{
    font-size: clamp(50px, 4vw, 64px);
    font-family: "Erstoria";
    font-weight: 400;
    max-width: 70%;
    line-height: 1;
    text-wrap: nowrap;
}  

.price{
    font-size: clamp(20px, 4vw, 36px);
    border-bottom: 1px solid #fff;
    width: fit-content;
    margin: 20px 0;
}

.price__amount{
    font-size: clamp(24px, 4vw, 48px);
}

.info{
    min-height: 100vh;
    background-image: url(./assets/images/cartas_info.png);
    background-repeat: no-repeat;
    background-position: left;
    color: #BC2A22;
    align-items: flex-end;
}

.info p{
    width: 40vw;
    min-width: 100%;
}

.info__container, .about__container{
    display: flex;
    flex-direction: column;
    gap: 2vmax;
}

.about{
    background-image: url(./assets/images/foto_tarotista.png);
}

.about p{
    max-width: 50vw;
}

.ending{
    background-image: url(./assets/images/cartas_ending.png);
    align-items: center;
    text-align: center;
    color: #BC2A22;
}

.ending .overlay{
    background: linear-gradient(180deg ,rgba(255,255,255,0) 0%, rgba(255,255,255,50) 60%, rgba(255,255,255,100) 100%)
}

.ending p{
    max-width: 70%;
}

footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #BC2A22;
    padding: 5vmax;
    border-top: 1px solid #BC2A22;
}

h4{
    font-size: clamp(24px, 3vw, 64px);
}

.footer__links a{
    text-decoration: none;
    color: #BC2A22;
    font-size: clamp(16px, 1vw, 20px);
    text-wrap: nowrap;
}

.footer__links{
    display: flex;
    gap: 2vmax;
}

@media(max-width: 1000px){
    footer{
        flex-direction: column;
        gap: 2vmax;
        text-align: center;
    }
}

@media(max-width: 700px){
    .footer__links{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px){
    h1, h3{
        max-width: 100%;
        text-align: center;
        text-wrap: wrap;
        font-size: clamp(36px, 10vw, 64px);
    }
    .hero, .info, .about, .ending{
        align-items: center;
        text-align: left;
        padding: 2vmax;
    }
    .hero p, .about p, .ending p{
        max-width: 100%;
    }
    .info__container p{
        max-width: 100%;
        width: 100%;
    }
    .cta__buttons{
        width: 100%;
        margin: 0 auto;
        justify-content: center;
    }
    .overlay{
        background: linear-gradient(-90deg ,rgba(0,0,0,0.2) 0%,  rgba(0,0,0,100) 100%);
    }
    .overlay--light{
        background: linear-gradient(90deg ,rgba(255,255,255,.4) 0%,  rgba(255,255,255,100) 100%)
    }
    .about{
        background-position-x: -600px;
    }
}

@media(max-width: 500px){
    .cta__buttons{
        flex-direction: column;
        
    }
    .footer__links a{
        text-wrap: wrap;
    }
}